package com.example.base.entity

/**
 * 给每一个字段赋值，这样创建实体类时不用初始化给值了
 */
data class PreOrderParamEntity(
    val attrValueId: Int=0,
    val bargainId: Int=0,
    val bargainUserId: Int=0,
    val combinationId: Int=0,
    var orderDetails: List<OrderDetail>?=null,
    val orderNo: String?=null,
    val pinkId: Int=0,
    var preOrderType: String?=null,
    val productId: Int=0,
    val productNum: Int=0,
    val seckillId: Int=0,
    val shoppingCartId: Int=0
)

data class OrderDetail(
    val attrValueId: Int=0,
    val bargainId: Int=0,
    val bargainUserId: Int=0,
    val combinationId: Int=0,
    val orderDetails: List<Any>?=null,
    val orderNo: String?=null,
    val pinkId: Int=0,
    val preOrderType: String?=null,
    val productId: Int=0,
    val productNum: Int=0,
    val seckillId: Int=0,
    var shoppingCartId: Int=0
)